package com.wangc.study.stream;

/**
 * @author wangC
 * @create 2020-05-21 下午11:36
 * @Description
 **/
public class StreamPerson {

    private String name;

    public StreamPerson() {
    }

    public StreamPerson(String name) {
        this.name = name;
    }

    public static StreamPerson bulid(String name) {
        StreamPerson sp = new StreamPerson();
        sp.setName(name);
        return sp;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "StreamPerson{" +
                "name='" + name + '\'' +
                '}';
    }
}
